A builder to create a new Sip Account.
All
| method | description |
|---|---|
public SipAccount.Builder setAccountId(int accountId); |
Params:Supported Products:All |
public SipAccount.Builder setActivated(boolean activated); |
Set active status of the account.
Params:Supported Products:All |
public SipAccount.Builder setRegistered(int status); |
Set register status of the account
Params:Supported Products:All |
public SipAccount.Builder setAccountName(String accountName); |
Set the name of the account
Params:Supported Products:All |
public SipAccount.Builder setAccountNumber(String accountNumber); |
Set the phone number of the account.
Params:Supported Products:All |
public SipAccount.Builder setGroupId(int groupId); |
Set the ID of the group that the account belong to.
Params:Supported Products:All |
public SipAccount.Builder setSipServer(String sipServer); |
Set the sip server address that the account register to.
Params:Supported Products:All |
public SipAccount.Builder setSipUserId(String sipUserId); |
Set the sip user ID of the account.
Params:Supported Products:All |
public SipAccount.Builder setSipAuthId(String sipAuthId); |
Set the Authentication ID that access to the sip server.
Params:Supported Products:All |
public SipAccount.Builder setSipAuthPwd(String sipAuthPwd); |
Set the Authentication password that access to the sip server.
Params:Supported Products:All |
public SipAccount.Builder setSipDisplayName(String sipDisplayName); |
Set the display name of the account that used for Caller ID display.
Params:Supported Products:All |
public SipAccount build(); |
Create a new instance of SIP account according to the values that has been set by the
Builder.
Return:SipAccount A new instance of SIP account.SipAccount \u65b0\u7684SIP\u5e10\u53f7\u5bf9\u8c61 Supported Products:All |
| Member | description |
|---|